<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
    <meta name="keywords" content="{$SEO['keyword']}">
    <meta name="description" content="{$SEO['description']}">
    <link href="{PLUGIN_STATICS_PATH}bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" /><!--bootstrap css-->
    <link href="{CSS_PATH}hs/reset.css" rel="stylesheet" type="text/css" /><!--reset.css-->
    <link href="{CSS_PATH}hs/black.css" rel="stylesheet" type="text/css" /><!--头部和底部css-->
    <script type="text/javascript" src="{JS_PATH}jquery.min.js"></script><!--jquery-->
    <script type="text/javascript" src="{PLUGIN_STATICS_PATH}bootstrap/js/bootstrap.min.js"></script><!--bootstrap-->
    <script src="{JS_PATH}hs/unslider.min.js" type="text/javascript"></script><!--引入幻灯片js-->
    <script type="text/javascript" src="{PLUGIN_STATICS_PATH}jPlayer/jquery.jplayer.min.js"></script><!--jp-player-->
    <script type="text/javascript" src="{JS_PATH}hs/imageReady.js"></script><!--公共js-->
    <script type="text/javascript" src="{JS_PATH}hs/common.js"></script><!--公共js-->
</head>
<body data-spy="scroll" data-target=".scrollspy">
<div id="header-top">
    <div class="content">
        <div class="logo"><a href="{siteurl($siteid)}/"><img src="{IMG_PATH}logo.png" /></a></div>
        <div class="nav-bar">
            <ul>
                {pc:content action="category" catid="0" num="25" siteid="$siteid" cache=86400 order="listorder ASC"}
                    <li><a href="{siteurl($siteid)}">首页</a></li>
                    {loop $data $nav}
                    <li class="line">|</li>
                    <li class="nav_item">
                        {if !$nav[child]}<a href="{$nav[url]}">{$nav['catname']}</a>{/if}
                        {pc:content action="category" catid="$nav[catid]" num="15" siteid="$siteid" order="listorder ASC"}
                        {if $nav[child]}
                        {php $firstSub = current($data)}
                        <a href="{$firstSub['url']}">{$nav['catname']}</a>
                        <ul class="subnav">
                            {loop $data $subnav}
                            <li><a href="{$subnav[url]}">{$subnav[catname]}</a></li>
                            {/loop}
                        </ul>
                        {/if}
                        {/pc}
                    </li>
                    {/loop}
                {/pc}
            </ul>
        </div>
        <!--<ul id="nav-bar" class="nav nav-pills" role="tablist">-->
            <!--<li><a href="{siteurl($siteid)}">首页</a></li>-->
            <!--{pc:content action="category" catid="0" num="25" siteid="$siteid" order="listorder ASC" cache=86400}-->
            <!--{loop $data $nav}-->
                <!--{if $nav[ismenu]}-->
                <!--<li class="line">|</li>-->
                <!--<li role="presentation" class="dropdown">-->
                    <!--<a {if $nav[child]}class="dropdown-toggle" data-toggle="dropdown"{/if} href="{$nav[url]}">{$nav[catname]}</span></a>-->
                    <!--{if $nav[child]}-->
                        <!--<ul class="dropdown-menu" role="menu">-->
                            <!--{pc:content action="category" catid="$nav[catid]" num="15" siteid="$siteid" order="listorder ASC"}-->
                                <!--{loop $data $subnav}-->
                                    <!--<li><a href="{$subnav[url]}">{$subnav[catname]}</a></li>-->
                                <!--{/loop}-->
                            <!--{/pc}-->
                        <!--</ul>-->
                    <!--{/if}-->
                <!--</li>-->
                <!--{/if}-->
            <!--{/loop}-->
            <!--{/pc}-->
        <!--</ul>-->
        <div id="musicPlayer">
            <div id="jquery_jplayer_1"></div>
            <div id="jp_container_1">
                <span>sound</span>
                <a href="#" class="icon jp-play"></a>
                <a href="#" class="icon jp-pause"></a>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function(){
        $("#jquery_jplayer_1").jPlayer({
            ready: function () {
                $(this).jPlayer("setMedia", {
                    m4a: "{siteurl($siteid)}/music/bg.mp3",
                    oga: "{siteurl($siteid)}/music/bg.mp3"
                });
                if('企业VCR' != '<?php echo str_replace(" - ","",$SEO["title"]) ?>'){
                            $(this).jPlayer('play');
                };
            },
            swfPath: "/js",
            supplied: "m4a, oga",
            keyEnabled: true//空格暂停播放
        });
    });
</script>